<template>
    <div class="error-page">
        <div class="main-wrapper">
            <div class="error-box">
                <div class="error-box-img">
                    <img src="@/assets/images/error-01.png" alt="" class="img-fluid" />
                </div>
                <h3 class="h2 mb-3">Oh No!Error 404</h3>
                <p class="h4 font-weight-normal">This page you requested counld not found. May the force be with you!</p>
                <a href="javascript:void(0)" class="btn btn-primary" @click="goBack()">Back to Home</a>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    methods: {
        goBack() {
            this.$router.push('/');
        }
    }
};
</script>


<style scoped>
.error-page {
    height: 100%;
    align-items: center;
    color: #1f1f1f;
    display: flex;
    background-image: url('../../assets/images/error-bg1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.error-page .main-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    min-height: unset;
    padding-top: 50px;
}

.error-box {
    margin: 0 auto;
    max-width: 570px;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.error-logo {
    margin-bottom: 50px;
}

.error-logo img {
    width: 150px;
}

.error-box h3 {
    color: #fa5560;
    font-weight: 600;
    font-size: 36px;
    margin-top: 20px;
}

.error-box p {
    margin-bottom: 30px;
    color: #343a40;
    font-size: 14px;
}

.error-box .btn-primary {
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    min-width: 158px;
    padding: 9px 15px;
    background: #ff5364;
    color: #fff;
}

.error-box .btn-primary:hover,
.error-box .btn-primary:active:not(:disabled):not(.disabled) {
    background: #e72f41;
}

.come-soon-box h5 {
    font-size: 20px;
    margin: 50px 0 25px;
}

.error-box h4 {
    font-size: 32px;
    margin-bottom: 0;
}

.error-box h6 {
    font-size: 16px;
    margin: 35px 0;
}
</style>
